package cn.cuiliangpeng.system.service.impl;
import cn.cuiliangpeng.basic.service.impl.BaseServiceImpl;
import cn.cuiliangpeng.system.domain.Systemdictionarydetail;
import cn.cuiliangpeng.system.mapper.SystemdictionarydetailMapper;
import cn.cuiliangpeng.system.service.ISystemdictionarydetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class SystemdictionarydetailServiceImpl extends BaseServiceImpl<Systemdictionarydetail> implements ISystemdictionarydetailService {

    @Autowired
    private SystemdictionarydetailMapper systemdictionarydetailMapper;

    @Override
    public List<Systemdictionarydetail> findByIdType(Long id) {
        return systemdictionarydetailMapper.findByIdType(id);
    }
}
